﻿@model MvcAtletIS.Models.Articles

@{
    ViewBag.Title = "Články";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Naozaj chcete zmazať článok?</h2>

<fieldset>
    <legend>Detaily</legend>

    <div class="display-label">
        @Html.LabelFor(model => model.Title)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Title)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Date)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Date)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Perex)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Perex)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Active)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Active)
    </div>

    <div class="display-label">
        @Html.LabelFor(model => model.Top)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Top)
    </div>

</fieldset>

@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Zmazať" /> |
        @Html.ActionLink("Naspäť na prehľad článkov", "Index", new { CategoryId = Model.CategoryId})
    </p>
}
